<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:if test="${!empty loginUser}">
  <jsp:forward page="main.jsp"/>
</c:if>
<c:if test="${empty loginUser}">
  <jsp:include page="login.jsp"/>
</c:if>